package com.cskaoyan.wordmemorize.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cskaoyan.wordmemorize.dao.entity.LevelDO;
import com.cskaoyan.wordmemorize.dao.entity.LevelPrivilegeDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LevelPrivilegeMapper extends BaseMapper<LevelPrivilegeDO> {
    /**
     * 查询所有等级及其对应的特权
     */
    List<LevelDO> selectAllLevelWithPrivileges();
}
